﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class SsdpDevice
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class SsdpDevice
   ">
    <meta name="generator" content="docfx 2.59.2.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <link rel="stylesheet" href="../../styles/socialbar.css">
    <link rel="stylesheet" href="../../styles/header.css">
    <link rel="stylesheet" href="../../styles/version.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,100italic,300italic,400italic" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="../toc.html">
    <meta property="docfx:uid" content="MediaBrowser.Model.Ssdp.SsdpDevice">
    
    <meta property="docfx:rel" content="../../">
    
    <script type="text/javascript" src="../../nav.js"></script>
    <script type="text/javascript" src="../toc.js"></script>
  
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <div class="mb-socials-heading" style="height: 40px;">
        	<div class="mb-socials-heading-inner container">
        		<div class="mb-socials-heading-right">
        			<div class="mb-socials-list">
                          
        				<div class="mb-socials-item facebook">
        					<a class="mb-socials-item-link" target="_blank" href="https://facebook.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Facebook</span>
        					</div>
        				</div><div class="mb-socials-item twitter">
        					<a class="mb-socials-item-link" target="_blank" href="https://twitter.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Twitter</span>
        					</div>
        				</div>
        				<div class="mb-socials-item pinterest">
        					<a class="mb-socials-item-link" target="_blank" href="https://www.pinterest.com/emby0240/emby-news/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Pinterest</span>
        					</div>
        				</div>
        				<div class="mb-socials-item tumblr">
        					<a class="mb-socials-item-link" target="_blank" href="https://embyapp.tumblr.com/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Tumblr</span>
        					</div>
        				</div>
        				<div class="mb-socials-item github">
        					<a class="mb-socials-item-link" target="_blank" href="https://github.com/MediaBrowser"></a>
        					<div class="mb-socials-item-popup">
        						<span>GitHub</span>
        					</div>
        				</div><div class="mb-socials-item rss">
        					<a class="mb-socials-item-link" target="_blank" href="https://emby.media/blog.xml"></a>
        					<div class="mb-socials-item-popup">
        						<span>RSS</span>
        					</div>
        				</div>
                          
        			</div>
        		</div>
        	</div>
        </div>
        <div class="container">
        	<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
        		  
        		  <a class="navbar-brand" href="../../index.html">
        		    <img id="logo" class="svg" src="../../images/emby_dev_logo.png" alt="">
        		  </a>
        		  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
        			<span class="sr-only">Toggle navigation</span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        		  </button>
        		<div class="collapse navbar-collapse" id="navbar">
        			
        			<ul class="nav level1 navbar-nav">
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../index.html" title="DEV Home">DEV Home</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../doc/index.html" title="Documentation">Documentation</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../reference/index.html" title="Reference">Reference</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../download/index.html" title="Download">Download</a>
        			      </li>
        			</ul>		</div>
        	</nav>
        </div>
        <div class="nav-overlay d-none"></div>        
        <div class="subnav navbar navbar-default">
          <div class="container">
            <div class="hide-when-search" id="breadcrumb">
        	  <ul class="breadcrumb">
        		<li></li>
        	  </ul>
        	</div>
        
        	<div class="breadcrumpsearch">
        	  <form class="navbar-form navbar-right" role="search" id="search">
        		<div class="form-group">
        		  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
        		</div>
        	  </form>
        	</div>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list">Search Results for <span></span></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice">
<div class="refdoc">
  
  
  <h1 id="MediaBrowser_Model_Ssdp_SsdpDevice" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice" class="text-break">Class SsdpDevice
  </h1>
  <div class="markdown level0 summary"><p>Base class representing the common details of a (root or embedded) device, either to be published or that has been located.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a></div>
    <div class="level1"><span class="xref">SsdpDevice</span></div>
      <div class="level2"><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice.html">SsdpEmbeddedDevice</a></div>
      <div class="level2"><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="MediaBrowser.Model.Ssdp.html">MediaBrowser.Model.Ssdp</a></h6>
  <h6><strong>Assembly</strong>: MediaBrowser.Model.dll</h6>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class SsdpDevice</code></pre>
  </div>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Do not derive new types directly from this class. New device classes should derive from either <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a> or <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice.html">SsdpEmbeddedDevice</a>.</p>
</div>
  <h3 id="constructors">Constructors
  </h3>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice__ctor_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.#ctor*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice__ctor" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.#ctor">SsdpDevice()</h4>
  <div class="markdown level1 summary"><p>Derived type constructor, allows constructing a device with no parent. Should only be used from derived types that are or inherit from <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected SsdpDevice()</code></pre>
  </div>
  <h3 id="properties">Properties
  </h3>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceClass_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceClass*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceClass" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceClass">DeviceClass</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string DeviceClass { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_Devices_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Devices*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_Devices" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Devices">Devices</h4>
  <div class="markdown level1 summary"><p>Returns a read-only enumerable set of <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html">SsdpDevice</a> objects representing children of this device. Child devices are optional.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SsdpDevice[] Devices { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html">SsdpDevice</a>[]</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceType_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceType*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceType" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceType">DeviceType</h4>
  <div class="markdown level1 summary"><p>Sets or returns the core device type (not including namespace, version etc.). Required.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string DeviceType { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceTypeNamespace_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceTypeNamespace*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceTypeNamespace" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceTypeNamespace">DeviceTypeNamespace</h4>
  <div class="markdown level1 summary"><p>Sets or returns the namespace for the <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceType">DeviceType</a> of this device. Optional, but defaults to UPnP schema so should be changed if <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceType">DeviceType</a> is not a UPnP device type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string DeviceTypeNamespace { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceVersion_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceVersion*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceVersion" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.DeviceVersion">DeviceVersion</h4>
  <div class="markdown level1 summary"><p>Sets or returns the version of the device type. Optional, defaults to 1.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int DeviceVersion { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">Int32</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceVersion_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Defaults to a value of 1.</p>
</div>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_DeviceVersion_seealso">See Also</h5>
  <div class="seealso">
      <div><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceType">DeviceType</a></div>
      <div><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceTypeNamespace">DeviceTypeNamespace</a></div>
      <div><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_FullDeviceType">FullDeviceType</a></div>
  </div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_FriendlyName_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.FriendlyName*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_FriendlyName" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.FriendlyName">FriendlyName</h4>
  <div class="markdown level1 summary"><p>Sets or returns a friendly/display name for this device on the network. Something the user can identify the device/instance by, i.e Lounge Main Light. Required.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string FriendlyName { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_FriendlyName_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>A short description for the end user. </p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_FullDeviceType_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.FullDeviceType*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_FullDeviceType" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.FullDeviceType">FullDeviceType</h4>
  <div class="markdown level1 summary"><p>Returns the full device type string.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string FullDeviceType { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_FullDeviceType_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>The format used is urn:<a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceTypeNamespace">DeviceTypeNamespace</a>:device:<a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceType">DeviceType</a>:<a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_DeviceVersion">DeviceVersion</a></p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_Manufacturer_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Manufacturer*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_Manufacturer" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Manufacturer">Manufacturer</h4>
  <div class="markdown level1 summary"><p>Sets or returns the name of the manufacturer of this device. Required.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Manufacturer { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_ManufacturerUrl_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ManufacturerUrl*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_ManufacturerUrl" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ManufacturerUrl">ManufacturerUrl</h4>
  <div class="markdown level1 summary"><p>Sets or returns a URL to the manufacturers web site. Optional.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Uri ManufacturerUrl { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uri">Uri</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelDescription_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelDescription*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelDescription" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelDescription">ModelDescription</h4>
  <div class="markdown level1 summary"><p>Sets or returns a description of this device model. Recommended.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ModelDescription { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelDescription_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>A long description for the end user.</p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelName_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelName*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelName" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelName">ModelName</h4>
  <div class="markdown level1 summary"><p>Sets or returns the name of this model. Required.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ModelName { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelNumber_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelNumber*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelNumber" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelNumber">ModelNumber</h4>
  <div class="markdown level1 summary"><p>Sets or returns the number of this model. Recommended.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ModelNumber { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelUrl_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelUrl*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelUrl" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ModelUrl">ModelUrl</h4>
  <div class="markdown level1 summary"><p>Sets or returns a URL to a web page with details of this device model. Optional.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Uri ModelUrl { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uri">Uri</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_ModelUrl_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Optional. May be relative to base URL.</p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_PresentationUrl_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.PresentationUrl*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_PresentationUrl" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.PresentationUrl">PresentationUrl</h4>
  <div class="markdown level1 summary"><p>Sets or returns the URL to a web page that can be used to configure/manager/use the device. Recommended.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Uri PresentationUrl { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uri">Uri</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_PresentationUrl_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>May be relative to base URL. </p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_SerialNumber_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.SerialNumber*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_SerialNumber" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.SerialNumber">SerialNumber</h4>
  <div class="markdown level1 summary"><p>Sets or returns the serial number for this device. Recommended.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string SerialNumber { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_Udn_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Udn*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_Udn" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Udn">Udn</h4>
  <div class="markdown level1 summary"><p>Returns (or sets*) a unique device name for this device. Optional, not recommended to be explicitly set.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Udn { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_Udn_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>* In general you should not explicitly set this property. If it is not set (or set to null/empty string) the property will return a UDN value that is correct as per the UPnP specification, based on the other device properties.</p>
<p>The setter is provided to allow for devices that do not correctly follow the specification (when we discover them), rather than to intentionally deviate from the specification.</p>
<p>If a value is explicitly set, it is used verbatim, and so any prefix (such as uuid:) must be provided in the value.</p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_Upc_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Upc*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_Upc" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Upc">Upc</h4>
  <div class="markdown level1 summary"><p>Sets or returns the universal product code of the device, if any. Optional.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Upc { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_Upc_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>If not blank, must be exactly 12 numeric digits.</p>
</div>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_Uuid_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Uuid*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_Uuid" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.Uuid">Uuid</h4>
  <div class="markdown level1 summary"><p>Sets or returns the universally unique identifier for this device (without the uuid: prefix). Required.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Uuid { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_Uuid_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Must be the same over time for a specific device instance (i.e. must survive reboots).</p>
<p>For UPnP 1.0 this can be any unique string. For UPnP 1.1 this should be a 128 bit number formatted in a specific way, preferably generated using the time and MAC based algorithm. See section 1.1.4 of http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf for details.</p>
<p>Technically this library implements UPnP 1.0, so any value is allowed, but we advise using UPnP 1.1 compatible values for good behaviour and forward compatibility with future versions.</p>
</div>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_AddDevice_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.AddDevice*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_AddDevice_MediaBrowser_Model_Ssdp_SsdpEmbeddedDevice_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.AddDevice(MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice)">AddDevice(SsdpEmbeddedDevice)</h4>
  <div class="markdown level1 summary"><p>Adds a child device to the <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_Devices">Devices</a> collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void AddDevice(SsdpEmbeddedDevice device)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice.html">SsdpEmbeddedDevice</a></td>
        <td><span class="parametername">device</span></td>
        <td><p>The <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice.html">SsdpEmbeddedDevice</a> instance to add.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="MediaBrowser_Model_Ssdp_SsdpDevice_AddDevice_MediaBrowser_Model_Ssdp_SsdpEmbeddedDevice__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>If the device is already a member of the <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpDevice.html#MediaBrowser_Model_Ssdp_SsdpDevice_Devices">Devices</a> collection, this method does nothing.</p>
<p>Also sets the <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice.html#MediaBrowser_Model_Ssdp_SsdpEmbeddedDevice_RootDevice">RootDevice</a> property of the added device and all descendant devices to the relevant <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a> instance.</p>
</div>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
        <td><p>Thrown if the <code data-dev-comment-type="paramref" class="paramref">device</code> argument is null.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a></td>
        <td><p>Thrown if the <code data-dev-comment-type="paramref" class="paramref">device</code> is already associated with a different <a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a> instance than used in this tree. Can occur if you try to add the same device instance to more than one tree. Also thrown if you try to add a device to itself.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Model_Ssdp_SsdpDevice_ToRootDevice_" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ToRootDevice*"></a>
  <h4 id="MediaBrowser_Model_Ssdp_SsdpDevice_ToRootDevice" data-uid="MediaBrowser.Model.Ssdp.SsdpDevice.ToRootDevice">ToRootDevice()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SsdpRootDevice ToRootDevice()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="Emby.Media.Common.Extensions.Extensions.html#Emby_Media_Common_Extensions_Extensions_JsonClone__1___0_MediaBrowser_Model_Serialization_IJsonSerializer_">Extensions.JsonClone&lt;T&gt;(T, IJsonSerializer)</a>
  </div>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpRootDevice.html">SsdpRootDevice</a></div>
      <div><a class="xref" href="MediaBrowser.Model.Ssdp.SsdpEmbeddedDevice.html">SsdpEmbeddedDevice</a></div>
  </div>
</div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <div class="sdkversion Release">
                  SDK <span class="sdkVersionSpan"></span>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>On this Page</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to Top</a>
            </span>
            Copyright 2022 © EMBY LLC.  Please see our <a class="lnk" href="https://emby.media/terms.html">terms of use</a> and <a class="lnk" href="https://emby.media/privacy.html">privacy policy</a>.
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../searchIndex.js"></script>
    <script type="text/javascript" src="../../styles/lunr.min.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
